export interface ResponseData {
  code: number;
  message: string;
  ok: boolean;
}

export interface menuObj {
  id?: number;
  pid: number;
  name: string;
  code: any;
  toCode?: any;
  type?: number;
  status?: any;
  level: number;
  children?: menuList;
  select?: boolean;
}

export type menuList = menuObj[];

export interface menuResponseData extends ResponseData {
  data: menuList;
}
